Ext.define('App.report.iteration.model.IterationReportViewModel', {
    extend: 'Ext.app.ViewModel',
    alias: 'viewmodel.IterationReportViewModel',
    requires: ['App.report.model.ReportModel'],
    data: {
    },
    stores: {
        Query: {
            autoLoad: false,
            model: 'App.report.model.ReportModel',
            pageSize: 25,
            remoteSort: true,
            sorters: [{
                property: 'cdt',
                direction: 'ASC'
            }],
            proxy: {
                type: 'majax',
                url: 'report/query_iteration_report',
                reader: {
                    type: 'json',
                    rootProperty: 'data.data',
                    totalProperty: 'data.total'
                }
            }
        }
    }
});